package com.wanmait.community.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.community.entity.Admin;
import com.wanmait.community.entity.AdminRole;
import com.baomidou.mybatisplus.extension.service.IService;
public interface AdminRoleService extends IService<AdminRole>{
    PageInfo<AdminRole> findPage(AdminRole adminRole,Integer pageNum,Integer pageSize);

    AdminRole getAdminRoleById(Integer adminId,Integer roleId);


    void updateAdminRoleByAdmin(AdminRole adminRole);
}
